//package com.huc.rabbit.mq.provider;
//
//import com.huc.rabbit.mq.config.RabbitTopicMQConfig;
//import org.springframework.amqp.core.AmqpTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//@Component
//public class TopicMessageProvider {
//
//    @Autowired
//    private AmqpTemplate amqpTemplate;
//
//    public void send(String msg) {
//        amqpTemplate.convertAndSend(RabbitTopicMQConfig.EXCHANGE_NAME, RabbitTopicMQConfig.QUEUE_KEY_B, msg);
//    }
//
//}
